<script>
  $("#img_01").elevateZoom({
    gallery:'gallery_01', 
    galleryActiveClass: 'active',
    cursor: 'pointer',
    zoomWindowFadeIn: 500,
    zoomWindowFadeOut: 500,
    lensFadeIn: 500,
    lensFadeOut: 500,
    zoomWindowOffetx: 25,
    zoomWindowOffety: -5.5,
    borderSize: 1,
    borderColour:'#E7E7E7'
  }); 
  
  $("#img_01").bind("click", function(e) {  
    var ez =   $('#img_01').data('elevateZoom'); 
    ez.closeAll();
  });
</script>